package command;

/**
 * 客户端测试
 *
 * @author zhang he qiang
 */
public class CommandPattern {
    public static void main(String[] args)
    {
        Command cmd=new ConcreteCommand();
        Invoker ir=new Invoker(cmd);
        System.out.println("客户访问调用者的call()方法...");
        ir.call();
    }
}
